srcdir       = @srcdir@
top_builddir = @top_builddir@
top_srcdir   = @top_srcdir@

SCM_CATEGORY = util

include ../Makefile.ext

LIBFILES = util--match.$(SOEXT)
SCMFILES = match.sci

GENERATED = Makefile
XCLEANFILES =  *.c match.sci

OBJECTS = $(util_match_OBJECTS)

util_match_OBJECTS = util--match.$(OBJEXT)

all : $(LIBFILES)

util--match.$(SOEXT) : $(util_match_OBJECTS)
	$(MODLINK) util--match.$(SOEXT) $(util_match_OBJECTS) $(EXT_LIBGAUCHE) $(LIBS)

util--match.c match.sci : $(top_srcdir)/libsrc/util/match.scm
	$(PRECOMP) -e -P -o util--match $(top_srcdir)/libsrc/util/match.scm

install : install-std

